//
//  UIBarButtonItemCategory.h
//  TestNavi
//
//  Created by 水石 温 on 11-11-1.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//


#define BAR_BUTTON_STYLE_BACK   0
#define BAR_BUTTON_STYLE_TEXT   1
//#define BAR_BUTTON_STYLE_GREEN  2
#define BAR_BUTTON_STYLE_IMAGE  2


#import <UIKit/UIKit.h>

@interface UIBarButtonItem (UIBarButtonItemCategory)

+(UIBarButtonItem*)textBarButtonItem:(NSString*)title target:(id)target action:(SEL)selector;
+(UIBarButtonItem*)textBarButtonItem:(NSString*)title backgroundImage:(UIImage*)bgImage target:(id)target action:(SEL)selector;

+(UIBarButtonItem*)imageBarButtonItem:(UIImage*)image target:(id)target action:(SEL)selector;

+(UIBarButtonItem*)backImageBarButtonItem:(UIImage*)image target:(id)target action:(SEL)selector;
+(UIBarButtonItem*)backBarButtonItemWithTarget:(id)target action:(SEL)selector;

@end
